<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>网上商城</title>
	</head>
	<body>
		<div class="wraper">
			<jsp:include page="/common/header.jsp"></jsp:include>
			<div class="content">
				<jsp:include page="/pages/member/common/leftnav.jsp"></jsp:include>
				<div class="main">
					<div id="myinfor">
						<h2>
							我的个人信息
						</h2>
						<div style="color: blue; text-align: center;" id="msg" />
							${msg}
						</div>
						<script>
							setTimeout(function(){document.getElementById('msg').style.display='none';},'5000');
						</script>
						<form action="${ctx }/member/member!modifyMemberInfo"
							method="post">
							<input name="member.id" value="${member.id }" type="hidden" />
							<p>
								<label>
									昵称(登录名)：
								</label>
								<span>${member.name}</span>
							</p>
							<p>
								<label>
									注册时间：
								</label>
								<span>${member.loadDate }</span>
							</p>
							<p>
								<label>
									会员姓名：
								</label>
								<input type="text" name="member.trueName"
									value="${member.trueName }" />
							</p>
							<p>
								<label>
									会员性别：
								</label>
								<select name="member.sex">
									<option value="true" ${member.sex?"selected='selected'":''}>
										男
									</option>
									<option value="false" ${member.sex?'':"selected='selected'"}>
										女
									</option>
								</select>
							</p>
							<p>
								<label>
									地址：
								</label>
								<textarea rows="2" " name="member.address">${member.address }</textarea>
							</p>
							<p>
								<label>
									邮编：
								</label>
								<input type="text" name="member.postCode"
									value="${member.postCode }" />
							</p>
							<p>
								<label>
									常用电话：
								</label>
								<input type="text" name="member.phone" value="${member.phone }" />
							</p>
							<p>
								<label>
									手机：
								</label>
								<input type="text" name="member.mobile"
									value="${member.mobile }" />
							</p>
							<p>
								<label>
									E-Mail：
								</label>
								<input type="text" name="member.emails"
									value="${member.emails }" />
							</p>
							<p class="btn_infor">
								<input type="submit" value="提交" />
							</p>
						</form>
					</div>
				</div>
				<jsp:include page="/common/footer.jsp"></jsp:include>
			</div>
	</body>
</html>